home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 June / PCWorld_2007-06_cd.bin / temacd / wikipad / WikidPad-1.9beta2.exe / {app} / WikidPadHelp / data / ChangeFileSuffix.wiki < prev    next >
Encoding:
Text File  |  2006-03-24  |  1.5 KB  |  48 lines

  1. ∩╗┐++ Change File Suffix
  2.  
  3. *USE THIS AT YOUR OWN RISK!!!*  *USE THIS AT YOUR OWN RISK!!!*
  4.  
  5. Normally the page files in the "data" directory of a "Original Gadfly" or "Original Sqlite" wiki have the suffix ".wiki". You can change this if you really need to.
  6.  
  7. Currently there is no support for automatic renaming of existing page files. If necessary, a script will be published to do that.
  8.  
  9.  
  10. Ensure that you have *not* opened with WikidPad the wiki you want to modify now.
  11.  
  12. To change the suffix open the file with suffix .wiki in the wiki directory (*above* the "data" directory) with a text editor. This is the configuration file of the wiki (its suffix can't be changed). In this file you will find a line:
  13.  
  14. [main]
  15.  
  16. Somewhere below this line, there could be a line starting with
  17.  
  18. db_pagefile_suffix=
  19.  
  20. If it isn't there, add it.
  21.  
  22. After the equal sign there should be the suffix of the page files including the separating dot, so the default line would be:
  23.  
  24. db_pagefile_suffix=.wiki
  25.  
  26.  
  27.  
  28.     * If you e.g. want .txt files instead, use:
  29.  
  30.       db_pagefile_suffix=.txt
  31.  
  32.     * If you want no ending at all (not even the dot), write:
  33.  
  34.       db_pagefile_suffix=
  35.  
  36.       without anything after '='
  37.  
  38.     * To go back to the default ".wiki" files, you can also delete the line completely
  39.  
  40.  
  41. Now you can save and close the configuration file. After that you should somehow rename the existing page files.
  42. Then you should be able to open the wiki in WikidPad.
  43.  
  44.  
  45. Once again:
  46.  
  47. *USE THIS AT YOUR OWN RISK!!!*  *USE THIS AT YOUR OWN RISK!!!*
  48.